Alex: Added the new sources for terminatorX 3.5
[terminatorX.git] / src / Makefile.cygwin
1 # Makefile for cygwin
2
3 # Location for the required includes/libs
4 TXLIBS=//f/TXLIB
5
6 # Inlcude path
7 INCLUDES=-I/$(TXLIBS)/include -I$(TXLIBS)/include/gdk/win32
8
9 # The objects
10 OBJECTS=endian.o main.o turntable.o tX_dialog.o tX_engine.o \
11         tX_global.o tX_gui.o tX_logo.o tX_wavfunc.o tX_widget.o \
12         wav_read.o wav_write.o 
13
14 # The libs
15 LIBS=$(TXLIBS)/lib/libgtk.a $(TXLIBS)/lib/libglib.a $(TXLIBS)/lib/libgdk.a $(TXLIBS)/lib/libpthread.a
16
17 CFLAGS=-D_REENTRANT -DWIN32 -DUSE_SOX_INPUT -O2 -g $(INCLUDES)
18
19 all:    terminatorX.exe
20
21 clean:  Makefile.cygwin
22         rm -f $(OBJECTS) terminatorX.exe
23                         
24 terminatorX.exe:        $(OBJECTS)
25                         gcc -o terminatorX.exe $(OBJECTS) $(LIBS)