Skip to content

Commit

Permalink
Add Makefile to ease up building vcd (#10)
Browse files Browse the repository at this point in the history
Co-authored-by: Uffe Jakobsen <>
  • Loading branch information
UffeJakobsen authored Jan 20, 2022
1 parent 1ab2c82 commit c59b2e1
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#
# Makefile for vcd
#

TARGET=vcd

SRCS=vcd.c
DEPS=$(SRCS:.c=.dep)
OBJS=$(SRCS:.c=.o)

#
#
#

.PHONY: default
default: build

.PHONY: all
all: all

.PHONY: build
build: $(TARGET)

$(TARGET): $(OBJS)

$(OBJS): $(SRCS)

.PHONY: install
install: build
install -v -D vcd $(DESTDIR)/usr/bin/vcd

.PHONY: clean
clean:
$(RM) $(TARGET)
$(RM) $(OBJS)
$(RM) $(DEPS)


#
# EOF
#

0 comments on commit c59b2e1

Please sign in to comment.