git @ Cat's Eye Technologies Befunge-93 / bb46c38
GNU make has trouble with creation times of dirs, apparently. Chris Pressey 7 years ago
1 changed file(s) with 6 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
2121
2222 all: $(PROGS)
2323
24 bin:
24 bin/.exists:
2525 mkdir -p bin
26 touch bin/.exists
2627
27 bin/bef: bin src/bef.c
28 bin/bef: bin/.exists src/bef.c
2829 $(CC) $(CFLAGS) src/bef.c -o bin/bef
2930
30 bin/befprof: bin src/befprof.c
31 bin/befprof: bin/.exists src/befprof.c
3132 $(CC) $(CFLAGS) src/befprof.c -o bin/befprof
3233
33 bin/bef2c: bin src/bef2c.c
34 bin/bef2c: bin/.exists src/bef2c.c
3435 $(CC) $(CFLAGS) src/bef2c.c -o bin/bef2c
3536
3637 clean:
37 rm -f src/*.o
38 rm -f *.o src/*.o
3839
3940 distclean:
4041 rm -rf bin/*