all repos — hex @ 136b4042edbd7b9cada803c17989dbc037ec5d46

A tiny, minimalist, slightly-esoteric concatenative programming lannguage.

Makefile

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
# Default Compiler and Flags
CC ?= gcc
CFLAGS ?= -Wall -Wextra -g
LDFLAGS ?=

hex: hex.c
	$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@

.PHONY: clean
clean:
	rm hex

.PHONY: test
test:
	./hex tests.hex

.PHONY: dtest
dtest:
	./hex -d tests.hex

.PHONY: web
web:
	./hex web.hex

.PHONY: dweb
dweb:
	./hex -d web.hex