home *** CD-ROM | disk | FTP | other *** search
Makefile | 1989-12-12 | 515 b | 27 lines |
- #
- #
- # I don't know about Mosse-dos makes. This makefile does not work with
- # Microsoft make (?). Here is a bat file you can use to compile each .c
- # file into .obj, how about link ?
- # cl -AL -FPa -Zi -c %1.c
-
- SRC = draw.c hpp.c getopt.c
- OBJS = draw.obj hpp.obj getopt.obj
-
- draw.exe: $(OBJS)
- link $(OBJS),,,;
-
- all: draw.exe
-
- koe: draw.exe koe.dat
- draw -dd -x 5,5,15 -y 0,10,30 -g 1,2 koe.dat >koe.pic
-
- getopt.obj: getopt.c
- cl -c $*.c
-
- hpp.obj: hpp.c hpp.h
- cl -c $*.c
-
- draw.obj: draw.c hpp.h
- cl -c $*.c
-