home *** CD-ROM | disk | FTP | other *** search
- CC=qcl
- CFLAGS=-c
-
- all: xxalloc.lib example1.exe example2.exe xxtest.exe
-
- xxalloc.lib: xxalloc.obj xxerror.obj
-
- example1.exe: example1.obj
- $(CC) example1.c /link xxalloc
-
- example1.obj: example1.c
- $(CC) $(CFLAGS) example1.c
-
- example2.exe: example2.obj
- $(CC) example2.c /link xxalloc
-
- example2.obj: example2.c
- $(CC) $(CFLAGS) example2.c
-
- xxerror.obj: xxerror.c
- $(CC) $(CFLAGS) xxerror.c
- lib xxalloc-+xxerror.obj;
-
- xxalloc.obj: xxalloc.c
- $(CC) $(CFLAGS) xxalloc.c
- lib xxalloc-+xxalloc.obj;
-
- xxtest.exe: xxtest.c
- $(CC) xxtest.c /link xxalloc
-
- clean:
- @del *.bak
- @del *.obj
- @del *.lib
- @del *.exe
-