1 # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 TARGET = hog 6 SRC = hog.c 7 CFLAGS = -std=c99 -D_GNU_SOURCE -O0 8 LDFLAGS = -lrt 9 10 $(TARGET): $(SRC) 11 $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $^ 12 13 clean: 14 $(RM) $(TARGET) 15