home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: Security
/
Security.zip
/
idea-v11.zip
/
Makefile.OS2
< prev
next >
Wrap
Makefile
|
1994-09-29
|
740b
|
25 lines
# make is used to build user command 'idea'
# make test is used to test correctness of user command 'idea'
# make lint is used for debugging
#
# If 'ANSI_C' is defined in 'idea.h' then the preprocessed source code is
# ANSI-C or C++ code, otherwise it is Kerninghan & Ritchie C code.
#
# change the next line such that your C-compiler is used
CC = gcc -O2 -fexpensive-optimizations -Zomf -Zmtd
all: idea.exe
idea.exe: idea_cmd.c idea.c idea.h
$(CC) -s -o idea.exe idea_cmd.c idea.c -lemxio -lwrap
dumphex.exe: dumphex.c
$(CC) -s -o dumphex.exe dumphex.c -lemxio -lwrap
test: idea.exe dumphex.exe idea.h
test1.cmd
diff out Examples >nul && echo Test passed.
clean:
del *.obj *.exe out