home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-01-31 | 1003 b | 43 lines |
- #
- # Makefile
- # This Makefile is written to work with dmake
- # If it works with any other make utility, it's purely coincidental
- #
-
- CPPFLAGS = -Wall
- CFLAGS =
- OBJ = pminfo.obj COPYING.obj Copyrght.obj
- LIBS = os2 libc libgpp
- CC = gcc
-
- COMPILE = $(CC) $(CFLAGS) $(CPPFLAGS) -c
-
- pminfo.exe: $(OBJ) pminfo.res
- collect -o construc.s $(OBJ) -lgpp
- $(COMPILE) construc.s
- link386 $(OBJ) construc.obj,pminfo.exe,NUL,$(LIBS),pminfo.def
- rc pminfo.res
-
- pminfo.res: pminfo.rc pminfo.h pminfo.ico
- rc -r pminfo
-
- Copyrght.obj: Copyrght.c
- $(COMPILE) Copyrght.c
- Copyrght.c: embed.pl Copyrght
- perl embed.pl Copyrght
- COPYING.obj: COPYING.c
- $(COMPILE) COPYING.c
- COPYING.c: embed.pl COPYING
- perl embed.pl COPYING
-
- pminfo.obj: pminfo.cc pminfo.h
- $(COMPILE) pminfo.cc
-
- # Don't normally remove stuff that requires perl
- # Not everyone will have it installed
- # Of course, not everyone has rm either
- realclean: clean
- rm -f COPYING.c Copyrght.c
- clean:
- rm -f *.obj *.res construc.s
-