first commit! 🎉
This commit is contained in:
commit
31cfacb2cc
4 changed files with 101 additions and 0 deletions
16
Makefile
Normal file
16
Makefile
Normal file
|
@ -0,0 +1,16 @@
|
|||
CC = clang
|
||||
CFLAGS = -O2
|
||||
TARGET_EXEC = axd
|
||||
|
||||
build: axd.c.o
|
||||
$(CC) $(CFLAGS) -o $(TARGET_EXEC) axd.c.o
|
||||
|
||||
%.c.o: %.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
install: $(TARGET_EXEC)
|
||||
cp $(TARGET_EXEC) /usr/local/bin/
|
||||
chmod +x /usr/local/bin/$(TARGET_EXEC)
|
||||
|
||||
clean:
|
||||
rm axd axd.c.o
|
Loading…
Add table
Add a link
Reference in a new issue