Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BIN=Challenger
- OBJECTS=main.o options.o struct.o
- CC=gcc
- CFLAGS=-Wall -ansi -g
- LIBS=-lm
- all : $(BIN)
- $(BIN) : $(OBJECTS)
- $(CC) $^ -o $@ $(LIBS)
- %.o : %.c
- $(CC) -c $< -o $@ $($CFLAGS)
- clean:
- rm $(OBJECTS) $(BIN)
Add Comment
Please, Sign In to add comment