diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2006-11-26 11:09:41 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2006-11-26 11:09:41 +0000 |
commit | 95c2d1cbda23a41cdf6e63520c7f0b825e63dd5b (patch) | |
tree | 06d3ffa4312e568c4157f69fe1bddaddec9bc497 /app/xlockmore/win32/Makefile.win32 | |
parent | 3928433848e2d6a9356f3d438a14b32a4f87f660 (diff) |
Importing xlockmore 5.22
Diffstat (limited to 'app/xlockmore/win32/Makefile.win32')
-rw-r--r-- | app/xlockmore/win32/Makefile.win32 | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/app/xlockmore/win32/Makefile.win32 b/app/xlockmore/win32/Makefile.win32 new file mode 100644 index 000000000..998d3b9b0 --- /dev/null +++ b/app/xlockmore/win32/Makefile.win32 @@ -0,0 +1,40 @@ +# build applications +CC=gcc +MAKE=make +RES=windres + +# compiler flags +CFLAGS=-DWIN32 -D_DEBUG -DSYSV -mno-cygwin -mwindows -O2 +#CFLAGS=-DWIN32 -DSYSV -mno-cygwin -mwindows -O2 + +# Include & Library directories +WIN32API=/usr/include/w32api +INCS=-I$(WIN32API) -I../xlock -I. + +# sources +SRC= xlockrc.rc \ + Xapi.c \ + xlock95.c \ + +# objects +OBJS = $(SRC:.rc=.o) +OBJS += $(SRC:.c=.o) + +# general rules +.rc.o: + $(RES) --include-dir $(WIN32API) -i $< -o $@ + +.c.o: + $(CC) $(CFLAGS) -c -o $@ $< $(INCS) + +# specific rules +all: $(OBJS) + +xlock95.o: xlock95.h +xlockrc.o: xlock95.h + +xlockrc.o: xlockrc.rc + $(RES) --include-dir $(WIN32API) -i $< -o $@ + +clean: + rm -f *.o *.scr core *~ *% *.bak *.rej *.orig *.patch *.pure |