From f90c5a34c5dba525b856bcdaf9e378f9a3656072 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Thu, 26 Sep 2019 00:59:59 -0400 Subject: remove string method and use bitwise --- Makefile | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d1cb938..3f86ee2 100755 --- a/Makefile +++ b/Makefile @@ -1,19 +1,19 @@ -all: CC=gcc -win: CC=x86_64-w64-mingw32-gcc - -CFLAGS = -O3 -Wall -std=c99 $(shell pkg-config --cflags ncursesw) - -all: BIN = chip8 -win: BIN = chip8.exe - -all: executable -win: executable - -all: LDFLAGS = -lncursesw -ltinfow -lpthread -win: LDFLAGS = ./win/pdcurses.a -lpthread - -executable: chip8.c ui.c util.c - $(CC) $(CFLAGS) -o $(BIN) chip8.c ui.c util.c $(LDFLAGS) - -clean: - $(RM) chip8 +all: CC=gcc +win: CC=x86_64-w64-mingw32-gcc + +CFLAGS = -O3 -Wall -std=c99 $(shell pkg-config --cflags ncursesw) + +all: BIN = chip8 +win: BIN = chip8.exe + +all: executable +win: executable + +all: LDFLAGS = -lncursesw -ltinfow -lpthread +win: LDFLAGS = ./win/pdcurses.a -lpthread + +executable: chip8.c ui.c + $(CC) $(CFLAGS) -o $(BIN) chip8.c ui.c $(LDFLAGS) + +clean: + $(RM) chip8 -- cgit v1.2.3-101-g0448