Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CC := gcc
- LDFLAGS :=
- CFLAGS := -O2 -Wall
- SRCS := $(wildcard *.c)
- BINS := $(patsubst %.c,%,$(SRCS))
- OBJS := $(patsubst %,%.o,$(BINS))
- all: $(BINS)
- .PHONY: clean
- clean:
- $(RM) $(BINS)
- rebuild: clean all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement