Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. CC := gcc
  2. LDFLAGS :=
  3. CFLAGS := -O2 -Wall
  4.  
  5. SRCS := $(wildcard *.c)
  6. BINS := $(patsubst %.c,%,$(SRCS))
  7. OBJS := $(patsubst %,%.o,$(BINS))
  8.  
  9. all: $(BINS)
  10.  
  11. .PHONY: clean
  12. clean:
  13. $(RM) $(BINS)
  14.  
  15. rebuild: clean all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement