swissChili | b3abcd9 | 2021-03-02 20:00:44 -0800 | [diff] [blame] | 1 | OBJECTS = main.o |
2 | JAYROOT = ../../ | ||||
3 | CFLAGS = -O2 -I$(JAYROOT)/include -Wall | ||||
4 | |||||
5 | mkinitrd: $(OBJECTS) | ||||
6 | $(CC) -o $@ $^ | ||||
7 | |||||
swissChili | f46600c | 2021-03-03 12:35:33 -0800 | [diff] [blame^] | 8 | install: mkinitrd |
9 | cp mkinitrd $(JAYROOT)/bin | ||||
10 | |||||
swissChili | b3abcd9 | 2021-03-02 20:00:44 -0800 | [diff] [blame] | 11 | clean: |
12 | rm -f *.o mkinitrd | ||||
13 | |||||
swissChili | f46600c | 2021-03-03 12:35:33 -0800 | [diff] [blame^] | 14 | .PHONY: clean install |