diff options
| author | Paul Buetow <paul@buetow.org> | 2010-11-21 16:56:10 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2010-11-21 16:56:10 +0000 |
| commit | c67ed39bc994a0aef06454c1e3044e79f712b739 (patch) | |
| tree | 4397f736b9161f50cd0b00cdcfd2b0acc7c1af7e /src/Makefile.in | |
| parent | 93ce2024a62325cbae5f2f6fd2155a4ef89cee63 (diff) | |
Diffstat (limited to 'src/Makefile.in')
| -rw-r--r-- | src/Makefile.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/Makefile.in b/src/Makefile.in new file mode 100644 index 0000000..0382389 --- /dev/null +++ b/src/Makefile.in @@ -0,0 +1,21 @@ +SRCS=WILLBEADDEDBYCONFIGURE +OBJS=$(addprefix ../obj/,$(SRCS:.cpp=.o)) +CC=WILLBEADDEDBYCONFIGURE +LIBADD=`cat libs.add` +LDFLAGS=$(LIBADD) -lstdc++ +LDADD=-pthread -D_THREAD_SAFE -export-dynamic -ldl +INCLUDES=`cat includes.add` +CFLAGS=-fno-inline -fno-default-inline -frepo +all: ychat +$(SRCS): + $(CC) $(INCLUDES) $(CFLAGS) -c $*.cpp +infotext: + @echo Compiling base +ychat: infotext $(OBJS) + $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDADD) + @mv ychat ../bin + @echo -n "Size of linked executable: " + @du -hc ../bin/ychat | tail -n 1 +clean: + @echo Cleaning base obj + @if test -d ../obj; then rm -Rf ../obj; fi |
