first commit
This commit is contained in:
19
Makefile
Normal file
19
Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
CC = 9c
|
||||
LD = 9l
|
||||
CFLAGS = -Wall -Wextra -O2
|
||||
PROG = strans
|
||||
|
||||
SRCS = $(wildcard *.c)
|
||||
OBJS = $(SRCS:.c=.o)
|
||||
|
||||
all: $(PROG)
|
||||
|
||||
$(PROG): $(OBJS)
|
||||
$(LD) -o $@ $(OBJS) -lthread -lString -lbio -lxcb -lm
|
||||
|
||||
$(OBJS): dat.h fn.h ipc.h
|
||||
|
||||
clean:
|
||||
rm -f $(OBJS) $(PROG)
|
||||
|
||||
.PHONY: all clean
|
||||
Reference in New Issue
Block a user