aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile17
-rw-r--r--Makefile.in95
2 files changed, 17 insertions, 95 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..73e7fb2
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+.POSIX:
+
+CONFIGFILE = config.mk
+include $(CONFIGFILE)
+
+all: learn-your-telephone-number
+
+learn-your-telephone-number: learn-your-telephone-number.o
+ $(CC) -o $@ $@.o $(LDFLAGS)
+
+clean:
+ -rm -f -- learn-your-telephone-number *.o
+
+.SUFFIXES:
+.SUFFIXES: .o .c
+
+.PHONY: all install uninstall clean
diff --git a/Makefile.in b/Makefile.in
deleted file mode 100644
index d0b14bf..0000000
--- a/Makefile.in
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright (C) 2016 Mattias Andrée <maandree@member.fsf.org>
-#
-# Copying and distribution of this file, with or without modification,
-# are permitted in any medium without royalty provided the copyright
-# notice and this notice are preserved. This file is offered as-is,
-# without any warranty.
-
-
-### This file will be stored to Makefile once you have run ./configure. ###
-### See INSTALL for information on how to install this package. ###
-
-
-
-# List of translations to install.
-#LOCALES =
-
-# List of man page translations to install.
-#MAN_LOCALES =
-
-# Can change these variables with ./configure in the same why you
-# would configure them when running make.
-
-
-
-##### What is below this line is configurable, but is seldom useful. #####
-
-
-# Additional options for compiling info and HTML manuals.
-INFO_FLAGS =
-
-# Additional options for compiling DVI, PDF, and PostScript manuals.
-TEXINFO_FLAGS =
-
-# The name of the package as it should be installed.
-PKGNAME = learn-your-telephone-number
-
-# The name of the command as it should be installed.
-COMMAND = learn-your-telephone-number
-
-
-
-##### Nothing interesting below this. #####
-
-
-# In case you want add some configurations. Primarily
-# intended for maintainers. Perhaps add GPG_KEY here.
-# Of course, you can declare everthing with ./configure,
-# but with this you are less likely to forget it.
--include .make-configurations
-
-
-# YOU, AS A USER, SHOULD NOT CHANGE THESE VARIABLES. {{
-# They specify how the reusable makefiles in mk/ shall behave.
-
-# Package information.
-_PROJECT = learn-your-telephone-number
-_VERSION = 1.0
-
-# Used by mk/lang-c.mk
-_C_STD = c99
-_PEDANTIC = yes
-_BIN = learn-your-telephone-number
-_OBJ_learn-your-telephone-number = learn-your-telephone-number
-_HEADER_DIRLEVELS = 0
-_CPPFLAGS = -D'PACKAGE="$(PKGNAME)"' -D'PROGRAM_VERSION="$(_VERSION)"'
-
-# Used by mk/texinfo.mk
-_TEXINFO_DIRLEVELS = 2
-_INFOPARTS = 0
-_HAVE_TEXINFO_MANUAL = yes
-_HTML_FILES = Free-Software-Needs-Free-Documentation.html GNU-Free-Documentation-License.html \
- index.html Invoking.html Overview.html
-
-# Used by mk/man.mk
-_MAN_PAGE_SECTIONS = 1
-_MAN_1 = learn-your-telephone-number
-
-# Used by mk/copy.mk
-_COPYING = COPYING
-
-# Used by mk/dist.mk
-___EVERYTHING_INFO = sleeping-getty titlepage-data content hardcopy-copying \
- appx/fdl appx/free-software-needs-free-documentation \
- chap/invoking chap/overview \
- reusable/macros reusable/paper reusable/titlepage
-_SRC = $(foreach B,$(_SBIN),$(foreach F,$(_OBJ_$(B)),$(F).c))
-_EVERYTHING = $(__EVERYTHING_ALL_COMMON) DEPENDENCIES INSTALL NEWS \
- $(foreach F,$(___EVERYTHING_INFO),doc/info/$(F).texinfo)
-
-# }}
-
-
-# All of the make rules and the configurations.
-include $(v)mk/all.mk
-