summaryrefslogtreecommitdiff
path: root/lab07/solution/Makefile.libuser.solution
blob: 3e9e891c5db1e8b2738fb6db3fa9bec24ef12dd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
APP	= libuser

#############################################################################

include ../make/defaults.mk

all: install

clean:
	rm -f $(APP) $(DESTDIR)/$(APP)

$(APP): $(APP).c Makefile 
	$(CC) -o $@ $< -L. -lmy-utils # add the lib search path and lib name

install: $(APP)
	cp $< $(DESTDIR)