# Makefile for hdparm
# (the gcc -N option combines the data/text segments for a smaller executable)

CFLAGS +=  -Wall -Wstrict-prototypes -ggdb3 -O2
 
all: ul_test ul_test.s

ul_test.o : ul_test.c u510_reg.h ul_drv.h

ul_test.s : ul_test.c u510_reg.h ul_drv.h
	$(CC) $(CPPFLAGS) $(CFLAGS) -S -o $@ $<

ul_test : ul_test.o
 
