From 5441cf75f92f61e1f972d6cd4c3fa11a01eeaf5c Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Sun, 2 Mar 2014 12:54:27 +0900 Subject: [PATCH] remove old Make stuff --- Makefile | 48 ------------------------------------------------ bin/.gitkeep | 0 lib/.gitkeep | 0 3 files changed, 48 deletions(-) delete mode 100644 Makefile delete mode 100644 bin/.gitkeep delete mode 100644 lib/.gitkeep diff --git a/Makefile b/Makefile deleted file mode 100644 index fc555f7d..00000000 --- a/Makefile +++ /dev/null @@ -1,48 +0,0 @@ -CFLAGS=-Wall -Wextra -std=c99 - -ifeq ($(findstring CYGWIN,$(shell uname -s)), CYGWIN) - XFILE_LIB=cygxfile.dll - PICRIN_LIB=cygpicrin.dll -else - XFILE_LIB=libxfile.so - PICRIN_LIB=libpicrin.so -endif - -all: deps release - -deps: - git submodule update --init - $(CC) $(CFLAGS) -shared -fPIC extlib/xfile/*.c -o lib/$(XFILE_LIB) -I./extlib/xfile - -release: CFLAGS += -DDEBUG=0 -O3 -release: build - -debug: CFLAGS += -g -DDEBUG=1 -O0 -debug: build - -build: build-lib build-main - -build-main: - $(CC) $(CFLAGS) -D_GNU_SOURCE -Wl,-rpath lib tools/main.c -o bin/picrin -I./include -I./extlib -L./lib -lreadline -lm -lxfile -lpicrin - -build-lib: - cd src; \ - flex scan.l - $(CC) $(CFLAGS) -shared -fPIC src/*.c -o lib/$(PICRIN_LIB) -I./include -I./extlib -L./lib -lm -lxfile - -clean: - rm -f src/lex.yy.c src/lex.yy.h - rm -f lib/$(PICRIN_LIB) - rm -f bin/picrin - -run: - bin/picrin - -tak: release - bin/picrin etc/tak.scm - -lines: clean - wc -l `find . -name "*.[chyl]"` - -no-act: - bin/picrin -e '' > /dev/null diff --git a/bin/.gitkeep b/bin/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/lib/.gitkeep b/lib/.gitkeep deleted file mode 100644 index e69de29b..00000000