fixed for newer perl
[tridge/junkcode.git] / pch / Makefile
1 CC=gcc
2
3 .SUFFIXES: .c .o .h .h.gch
4
5 .c.o:
6         strace -f -o trace.out $(CC) $(CFLAGS) -c $*.c -o $@
7         ls -l trace.out
8
9 .h.h.gch:
10         $(CC) $(CFLAGS) -c $*.h -o $@
11
12 all: main
13
14 main: includes.h.gch main.o 
15         $(CC) -o main main.o
16
17 clean:
18         rm -f *.gch *.o trace.out *~ main