bitwise: finish day 2

This commit is contained in:
2018-03-27 22:47:45 -07:00
parent 2404595738
commit 71dff5d299
2 changed files with 23 additions and 23 deletions

View File

@@ -1,6 +1,6 @@
TARGET := ion
OBJS := $(TARGET).o
CFLAGS := -g -std=c99 -Wall -Werror
CFLAGS ?= -g -std=c99 -Wall -Werror
.PHONY: all run
all: run
@@ -15,3 +15,7 @@ $(TARGET): $(OBJS)
.PHONY: clean
clean:
rm -f $(OBJS) $(TARGET)
.PHONY: release
release: clean
CFLAGS="$(CFLAGS) -DRELEASE" make $(TARGET) && mv $(TARGET) $(TARGET)-release