kopia lustrzana https://github.com/windytan/slowrx
rodzic
cf34bf5f45
commit
1760187fd0
|
@ -0,0 +1,20 @@
|
|||
CC = gcc
|
||||
|
||||
CFLAGS = -Wall -Wextra -std=gnu99 -pedantic -g -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_4
|
||||
GTKCFLAGS = `pkg-config --cflags gtk+-3.0`
|
||||
GTKLIBS = `pkg-config --libs gtk+-3.0`
|
||||
|
||||
OFLAGS = -O3
|
||||
|
||||
OBJECTS = common.o modespec.o gui.o video.o vis.o sync.o pcm.o fsk.o slowrx.o
|
||||
|
||||
all: slowrx
|
||||
|
||||
slowrx: $(OBJECTS)
|
||||
$(CC) $(CFLAGS) -o $@ $(OBJECTS) $(GTKLIBS) -lfftw3 -lgthread-2.0 -lasound -lm -lpthread
|
||||
|
||||
%.o: %.c common.h
|
||||
$(CC) $(CFLAGS) $(GTKCFLAGS) $(OFLAGS) -c -o $@ $<
|
||||
|
||||
clean:
|
||||
rm -f slowrx $(OBJECTS)
|
|
@ -1,2 +0,0 @@
|
|||
SUBDIRS = src
|
||||
dist_doc_DATA = README.md
|
10
configure.ac
10
configure.ac
|
@ -1,10 +0,0 @@
|
|||
AC_INIT([slowrx], [0.1], [oona@kapsi.fi])
|
||||
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
|
||||
AC_PROG_CXX
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
src/Makefile
|
||||
])
|
||||
PKG_CHECK_MODULES([GTKMM], [gtkmm-3.0 >= 3.8.0])
|
||||
AC_OUTPUT
|
|
@ -22,7 +22,7 @@
|
|||
<property name="resizable">False</property>
|
||||
<property name="default_width">885</property>
|
||||
<property name="default_height">633</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="has_resize_grip">False</property>
|
||||
<signal name="delete-event" handler="delete_event" swapped="no"/>
|
||||
<child>
|
||||
<object class="GtkBox" id="MainBox">
|
|
@ -1,4 +0,0 @@
|
|||
bin_PROGRAMS = slowrx
|
||||
slowrx_CPPFLAGS = $(GTKMM_CFLAGS)
|
||||
slowrx_LDADD = $(GTKMM_LIBS)
|
||||
slowrx_SOURCES = slowrx.cc common.cc gui.cc fsk.cc modespec.cc pcm.cc sync.cc video.cc vis.cc
|
Ładowanie…
Reference in New Issue