Archived
1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
ToxEcho/Makefile
2015-07-25 20:26:55 +05:00

15 lines
252 B
Makefile

OUTPUT = toxecho
OBJ = main.o
LIBS = libtoxcore
CFLAGS = -std=gnu99 -Wall
LDFLAGS = $(shell pkg-config --libs $(LIBS))
all: $(OBJ)
@$(CC) $(CFLAGS) $(LDFLAGS) $(OBJ) -o $(OUTPUT)
%.o: %.c
@$(CC) $(CFLAGS) -c $*.c -o $*.o
clean:
rm *.o $(OUTPUT)