home *** CD-ROM | disk | FTP | other *** search
- # MicroScroll Tester Application Makefile
- #
- # Kraig Brockschmidt 9/91
-
- #Remove '#' from next line for "silent" operation
- !CMDSWITCHES +s
-
-
- #
- #Compiler and assembler flags
- #Use "SET RETAIL=1" from MS-DOS to compile non-debug version.
- #
- !ifndef RETAIL
- CLFLAGS = -c -Od -AS -Zipe -Gsw -W3
- DEFS=-DDEBUG
- !else
- CLFLAGS = -c -Os -AS -Zpe -Gsw -W3
- DEFS=
- !endif
-
- #Files on which every C file depends. Add others as appropriate
- INCLS=mustest.h
-
- .SUFFIXES: .h .c .asm .obj .exe .cxx .res .rc .bas
-
- goal: mustest.exe
-
-
- OBJS =mustest.obj
- RCFILES=mustest.ico
-
- #####
-
- .c.obj:
- echo ++++++++++
- echo Compiling $*.c
- cl $(CLFLAGS) $(DEFS) $*.c
-
-
- .rc.res:
- echo +++++++++
- echo Compiling Resources
- rc -r $*.rc
-
-
- mustest.exe : $(OBJS) mustest.res
- link @mustest.lnk
- rc -30 mustest.res
-
- ##### Dependencies #####
- mustest.obj : mustest.c $(INCLS)
- mustest.res : mustest.rc $(INCLS) $(RCFILES)
-