| 1 | CFLAGS=-O0 -std=c99 -Wall -Wextra # try -O3 for fun... |
| 2 | |
| 3 | ALL = hash_compare compare_mod_and minunit_example get_set_progname sizeof bitsets loweror fsize #args |
| 4 | |
| 5 | all: $(ALL) |
| 6 | |
| 7 | clean: |
| 8 | rm -rf *.o $(ALL) |
| 9 | |
| 10 | |
| 11 | MNEMONICS := $(wildcard ../src/mne*.c) ../src/globals.c |
| 12 | |
| 13 | all_mnemonics.txt: $(MNEMONICS) |
| 14 | cat $(MNEMONICS) | grep 'NULL,[ ]*v_' | cut -f3 -d, | sed 's/^[ ]*//g;s/"//g' | sort -u >all_mnemonics.txt |