slowrx/Makefile

21 wiersze
507 B
Makefile
Czysty Zwykły widok Historia

2011-07-07 14:09:57 +00:00
CC = gcc
CFLAGS = -Wall -Wextra -std=gnu99 -pedantic -g -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_4
2013-01-09 19:02:41 +00:00
GTKCFLAGS = `pkg-config --cflags gtk+-3.0`
GTKLIBS = `pkg-config --libs gtk+-3.0`
2011-07-07 14:09:57 +00:00
OFLAGS = -O3
2013-01-05 08:10:56 +00:00
OBJECTS = common.o modespec.o gui.o video.o vis.o sync.o pcm.o fsk.o slowrx.o
2011-07-07 14:09:57 +00:00
all: slowrx
2013-01-05 08:10:56 +00:00
slowrx: $(OBJECTS)
2013-04-21 07:58:37 +00:00
$(CC) $(CFLAGS) -o $@ $(OBJECTS) $(GTKLIBS) -lfftw3 -lgthread-2.0 -lasound -lm -lpthread
2011-07-07 14:09:57 +00:00
2013-01-05 08:10:56 +00:00
%.o: %.c common.h
2013-01-09 19:02:41 +00:00
$(CC) $(CFLAGS) $(GTKCFLAGS) $(OFLAGS) -c -o $@ $<
2011-07-07 14:09:57 +00:00
clean:
2013-01-05 08:10:56 +00:00
rm -f slowrx $(OBJECTS)