home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 22 gnu
/
22-gnu.zip
/
sampl254.zip
/
gcc2
/
samples
/
makefile~
< prev
next >
Wrap
Text File
|
1993-11-11
|
310b
|
19 lines
CC=gcc
CFLAGS=-O
all: sample1.exe sample2.exe sample3
sample1.exe: sample1.c
$(CC) $(CFLAGS) sample1.c -o sample1.exe
sample2.exe: sample2.cc
$(CC) $(CFLAGS) sample2.cc -o sample2.exe -lgpp
.PHONY: sample3
sample3:
$(MAKE) -C sample3
clean:
del *.obj *.exe
$(MAKE) -C sample3 clean