Skip to content

Commit ab8a5e0

Browse files
committed
add simple Makefile
1 parent aec47fe commit ab8a5e0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Makefile

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
TARGET = asus-cmd
2+
CFLAGS += -Wall -Wextra -O2
3+
SOURCES = $(wildcard *.c)
4+
5+
all: $(TARGET)
6+
7+
$(TARGET): $(SOURCES)
8+
$(CC) $(CFLAGS) $< -o $@
9+
10+
.PHONY: clean
11+
clean:
12+
rm -rf $(TARGET)

0 commit comments

Comments
 (0)