Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CFLAGS += -Wvla -Wall
- AR := ar
- AR_FLAGS := rcs
- swap := generalSwap
- tree := GenRangeTree
- $(swap): $(swap).o
- $(CC) -o $@ $< $(CFLAGS)
- $(tree): $(tree).o
- $(AR) $(AR_FLAGS) lib$(tree).a $(tree).o
- $(tree).o: $(tree).c $(tree).h
- $(CC) -c $@ $< $(CFLAGS)
- .PHONY: clean
- clean:
- rm -f $(tree) $(swap) *.o *.a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement