diff options
author | Julian T <julian@jtle.dk> | 2019-10-16 16:34:26 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2019-10-16 16:34:26 +0200 |
commit | a133079e7d76420e0e5f0f386ee714e29776a6fc (patch) | |
tree | e1b554be4abab0bd69ad1a227931416704313bd9 /sem1/osc/mm10/Makefile | |
parent | eb73b7edb80c59e7ca6477d933730d7553490ab6 (diff) |
Some operating system work
Diffstat (limited to 'sem1/osc/mm10/Makefile')
-rw-r--r-- | sem1/osc/mm10/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sem1/osc/mm10/Makefile b/sem1/osc/mm10/Makefile new file mode 100644 index 0000000..3d4089e --- /dev/null +++ b/sem1/osc/mm10/Makefile @@ -0,0 +1,19 @@ +opgaver=opg1 opg3 + +LEX=flex +CC=gcc +LINKFLAG=-lfl +DEFAULT_TARGET=all + +%: %.yy.c + $(CC) -o $@ $^ $(LINKFLAG) + +%.yy.c: %.l + $(LEX) -o $@ $^ + +all: $(opgaver) + +phony: all clean + +clean: + rm $(opgaver) |