You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
278 B
14 lines
278 B
include .env
|
|
|
|
CC=gcc
|
|
CFLAGS=-Wall -C -I. -Isrc/include
|
|
DEPS = dom.h tokenizer.h nodes_t.h
|
|
|
|
%.o: %.c $(DEPS)
|
|
(CC) -c -o $@ $< $(CFLAGS) -D DEBUG=$(RML_DEBUG)
|
|
|
|
rmlp: src/main.o src/dom.o src/tokenizer.o
|
|
$(CC) -o rmlp.out src/main.o src/dom.o src/tokenizer.o
|
|
|
|
clean:
|
|
rm src/*.o
|
|
|