summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c043fda)
Again, I don't know what changed in the compilation toolchain, but
apparently to get compilation to work now, we need to put libraries we
depend on after the object files that depend on them.
$(CC) $(CFLAGS) $(MYCFLAGS) -c -o $@ -c $<
dvonn: dvonn.o dvonn-board.o
$(CC) $(CFLAGS) $(MYCFLAGS) -c -o $@ -c $<
dvonn: dvonn.o dvonn-board.o
- $(CC) $(LDLAGS) $(MYLDFLAGS) -o $@ $^ -lm
+ $(CC) -o $@ $^ $(LDFLAGS) $(MYLDFLAGS) -lm
Makefile.dep: *.c
$(CC) -M $(CPPFLAGS) $(MYCFLAGS) $^ > $@
Makefile.dep: *.c
$(CC) -M $(CPPFLAGS) $(MYCFLAGS) $^ > $@