Skip to content

Commit

Permalink
Actually, tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanadrel committed Jun 12, 2021
1 parent cc6b115 commit 390bec8
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ CFLAGS += -Wall -W -pipe -O2 -std=c99
all: clean release

release: linux windows
$(STRIP_LINUX) *.bin
$(STRIP_WINDOWS) *.exe
mv *.bin ./bin
mv *.exe ./bin
$(STRIP_LINUX) *.bin
$(STRIP_WINDOWS) *.exe
mv *.bin ./bin
mv *.exe ./bin

clean:
rm -f ./bin/*.bin ./bin/*.exe ./bin/*.pl
rm -f *.bin *.exe
rm -f ./bin/*.bin ./bin/*.exe ./bin/*.pl
rm -f *.bin *.exe

##
## LINUX
Expand All @@ -27,15 +27,15 @@ CFLAGS_LINUX = $(CFLAGS) -D_LINUX
LDFLAGS_LINUX = $(LDFLAGS)

linux:
${CC_LINUX} ${CFLAGS_LINUX} ${LDFLAGS_LINUX} -o alarm.bin src/alarm.c
${CC_LINUX} ${CFLAGS_LINUX} ${LDFLAGS_LINUX} -o dict.bin src/dict.c
${CC_LINUX} ${CFLAGS_LINUX} ${LDFLAGS_LINUX} -o leftlist.bin src/leftlist.c
${CC_LINUX} ${CFLAGS_LINUX} ${LDFLAGS_LINUX} -o sed_cut_coffee.bin src/sed_cut_coffee.c
${CC_LINUX} ${CFLAGS_LINUX} ${LDFLAGS_LINUX} -o dgrep2.bin src/dgrep2.c
${CC_LINUX} ${CFLAGS_LINUX} ${LDFLAGS_LINUX} -o metagen.bin src/metagen.c
${CC_LINUX} ${CFLAGS_LINUX} ${LDFLAGS_LINUX} -o metabuild.bin src/metabuild.c
${CC_LINUX} ${CFLAGS_LINUX} ${LDFLAGS_LINUX} -o rli2_len.bin src/rli2_len.c
${CC_LINUX} ${CFLAGS_LINUX} ${LDFLAGS_LINUX} -o cmp_rli2.bin src/cmp_rli2.c
${CC_LINUX} ${CFLAGS_LINUX} ${LDFLAGS_LINUX} -o alarm.bin src/alarm.c
${CC_LINUX} ${CFLAGS_LINUX} ${LDFLAGS_LINUX} -o dict.bin src/dict.c
${CC_LINUX} ${CFLAGS_LINUX} ${LDFLAGS_LINUX} -o leftlist.bin src/leftlist.c
${CC_LINUX} ${CFLAGS_LINUX} ${LDFLAGS_LINUX} -o sed_cut_coffee.bin src/sed_cut_coffee.c
${CC_LINUX} ${CFLAGS_LINUX} ${LDFLAGS_LINUX} -o dgrep2.bin src/dgrep2.c
${CC_LINUX} ${CFLAGS_LINUX} ${LDFLAGS_LINUX} -o metagen.bin src/metagen.c
${CC_LINUX} ${CFLAGS_LINUX} ${LDFLAGS_LINUX} -o metabuild.bin src/metabuild.c
${CC_LINUX} ${CFLAGS_LINUX} ${LDFLAGS_LINUX} -o rli2_len.bin src/rli2_len.c
${CC_LINUX} ${CFLAGS_LINUX} ${LDFLAGS_LINUX} -o cmp_rli2.bin src/cmp_rli2.c

##
## WINDOWS
Expand All @@ -46,12 +46,12 @@ STRIP_WINDOWS = x86_64-w64-mingw32-strip
CFLAGS_WINDOWS = $(CFLAGS) -D_WINDOWS -I/usr/i686-w64-mingw32/include/

windows:
# ${CC_WINDOWS} ${CFLAGS_WINDOWS} -o alarm.exe src/alarm.c
${CC_WINDOWS} ${CFLAGS_WINDOWS} -o dict.exe src/dict.c
${CC_WINDOWS} ${CFLAGS_WINDOWS} -o leftlist.exe src/leftlist.c
${CC_WINDOWS} ${CFLAGS_WINDOWS} -o sed_cut_coffee.exe src/sed_cut_coffee.c
${CC_WINDOWS} ${CFLAGS_WINDOWS} -o dgrep2.exe src/dgrep2.c
${CC_WINDOWS} ${CFLAGS_WINDOWS} -o metagen.exe src/metagen.c
${CC_WINDOWS} ${CFLAGS_WINDOWS} -o metabuild.exe src/metabuild.c
${CC_WINDOWS} ${CFLAGS_WINDOWS} -o rli2_len.exe src/rli2_len.c
${CC_WINDOWS} ${CFLAGS_WINDOWS} -o cmp_rli2.exe src/cmp_rli2.c
# ${CC_WINDOWS} ${CFLAGS_WINDOWS} -o alarm.exe src/alarm.c
${CC_WINDOWS} ${CFLAGS_WINDOWS} -o dict.exe src/dict.c
${CC_WINDOWS} ${CFLAGS_WINDOWS} -o leftlist.exe src/leftlist.c
${CC_WINDOWS} ${CFLAGS_WINDOWS} -o sed_cut_coffee.exe src/sed_cut_coffee.c
${CC_WINDOWS} ${CFLAGS_WINDOWS} -o dgrep2.exe src/dgrep2.c
${CC_WINDOWS} ${CFLAGS_WINDOWS} -o metagen.exe src/metagen.c
${CC_WINDOWS} ${CFLAGS_WINDOWS} -o metabuild.exe src/metabuild.c
${CC_WINDOWS} ${CFLAGS_WINDOWS} -o rli2_len.exe src/rli2_len.c
${CC_WINDOWS} ${CFLAGS_WINDOWS} -o cmp_rli2.exe src/cmp_rli2.c

0 comments on commit 390bec8

Please sign in to comment.