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

16 lines
252 B
Makefile
Raw Normal View History

2015-07-25 11:26:55 -04:00
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)